/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.treepoke.util.base;

/**
 *
 * @author wklinger
 */
public class TPBaseException extends Exception {

    private int exceptionCode;

    public int getExceptionCode() {
        return exceptionCode;
    }

    public void setExceptionCode(int exceptionCode) {
        this.exceptionCode = exceptionCode;
    }

    public TPBaseException(String message, int exceptionCode) {
        super(message);
        this.exceptionCode = exceptionCode;
    }
    
    public TPBaseException(String message, Throwable throwable, int exceptionCode) {
        super(message, throwable);
        this.exceptionCode = exceptionCode;
    }
}
